home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 2
/
Tech Arsenal 2 (Arsenal Computer).iso
/
lan_nov
/
btools.exe
/
BDEBUG.DOC
< prev
next >
Wrap
Text File
|
1991-04-17
|
3KB
|
86 lines
Bdebug - Debugging tool for Btrieve users
Bdebug is a debugging tool designed to help programmers which are using the
Btrieve record manager.
Bdebug is a memory resident program which traces each call to Btrieve and
displays all parameters sending to and receiving from Btrieve.
Having the ability to watch each parameter sending to or from Btrieve
means a lot of time saving and a more convenient way to trace errors in
programs.
To activate the program just type bdebug. Note, however, that this program
must be loaded AFTER the Btrieve record manager.
Once loaded, the program is in a sleeping mode. To activate the program,
press the ALT CTRL LEFT-SHIFT keys simultaneously.
When activated, Bdebug displays its menu, which contains 6 options.
Use the arrow keys to move the highlighted bar between options. Select options
by pressing the enter key.
The options that appear in the menu are:
1. Sleep/wake up.
2. Window position.
3. Window size.
4. Single/Double strike.
5. Unhook Bdebug.
6. Exit this menu.
1. Sleep/wake up.
Once loaded, the program is in sleep mode. In order to begin tracing of
Btrieve calls, press the key combination to activate the menu, then select
the first option and press ENTER. The first option will change from 'sleep'
to 'wake up'. From now on Bdebug will trace each call to Btrieve and will
display the parameters in a special window on the screen.
After putting Bdebug in the wake up mode, select option 6 to exit the
menu and resume normal program execution. Note, however, that it is also
possible to quit the menu at any time by pressing the ESC key.
2. Window position.
By selecting this option, the user has the ability to place the window at
any chosen location on the screen. After selecting this option, the menu
will disappear from the screen and the data window will be shown. Use arrow
keys to bring this window to the desired place, then press the ENTER or ESC
keys to return to the menu.
3. Window size.
By enlarging the window size, the user has the ability to examine the contents
of the key and the data record. Those are given both in ascii and hex formats.
Again, use the arrow keys to enlarge the window size. When done, press the
ENTER or the ESC keys to return to the menu.
4. Single/Double strike.
Usually, the Bdebug program will display all parameters which are sent and
received from Btrieve in a window, then it will wait for a key to be pressed in
order to resume execution. Actually the program displays all parameters twice:
once before calling Btrieve and once after the call. Sometimes it is desirable
to examine parameters before AND after the call. If this the case, choose this
option and by pressing enter, change it from single to double strike. The
program will wait for user input before and after it calls Btrieve.
5. Unhook Bdebug.
Select this option to remove Bdebug entirely from memory.
Warning - NEVER uninstall the program while you are running another program.
Always choose this option from the DOS prompt only.
NEVER uninstall the program if there are other memory resident programs
above it. Uninstall them first.
Hope you benefit something by using this program.
Jacob Gafny.
Israel 1987.